﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="createpassword.aspx.cs" Inherits="nextGeneration_app.createpassword" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">

        .style53
        {
            width: 163px;
            height: 23px;
        }
        .style73
        {
            height: 23px;
            width: 182px;
        }
        .style55
        {
            height: 23px;
            width: 122px;
        }
        .style54
        {
            width: 163px;
        }
        .style74
        {
            width: 182px;
        }
        .style56
        {
            width: 122px;
        }
        </style>
</head>
<body>
    <form id="form1" runat="server">
    <table style="width:100%;">
        <tr>
            <td class="style53">
                &nbsp;</td>
            <td class="style73">
            </td>
            <td class="style55">
                &nbsp;</td>
            <td class="style55">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style54">
                &nbsp;</td>
            <td class="style74">
                Username</td>
            <td class="style56">
                <asp:Label ID="username" runat="server"></asp:Label>
            </td>
            <td class="style56">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style54">
                &nbsp;</td>
            <td class="style74">
                <asp:Label ID="Label2" runat="server" Text="New password"></asp:Label>
            </td>
            <td class="style56">
                <asp:TextBox ID="newpasstxb" runat="server" 
                    ontextchanged="newpasstxb_TextChanged" Width="250px"></asp:TextBox>
            </td>
            <td class="style56">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style54">
                &nbsp;</td>
            <td class="style74">
                <asp:Label ID="Label3" runat="server" Text="confirm new password"></asp:Label>
            </td>
            <td class="style56">
                <asp:TextBox ID="confirmtxb" runat="server" 
                    ontextchanged="confirmtxb_TextChanged" Width="250px"></asp:TextBox>
            </td>
            <td class="style56">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style54">
                &nbsp;</td>
            <td class="style74">
                &nbsp;</td>
            <td class="style56">
                <asp:Label ID="messagelbl" runat="server"></asp:Label>
                <asp:CompareValidator ID="CompareValidator1" runat="server" BorderColor="Red" 
                    ControlToCompare="confirmtxb" ControlToValidate="newpasstxb" CssClass="style75" 
                    ErrorMessage="password dont match!"></asp:CompareValidator>
            </td>
            <td class="style56">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style54">
                &nbsp;</td>
            <td class="style74">
                &nbsp;</td>
            <td class="style56">
                <asp:Button ID="Button1" runat="server" onclick="Button1_Click" 
                    Text="Confirm" />
            </td>
            <td class="style56">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style54">
                &nbsp;</td>
            <td class="style74">
                &nbsp;</td>
            <td class="style56">
                &nbsp;</td>
            <td class="style56">
                &nbsp;</td>
        </tr>
    </table>
    </form>
</body>
</html>
